package com.ccc.mapper;

import com.ccc.entity.StuLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ccc
 * @since 2022-01-02
 */
public interface StuLogMapper extends BaseMapper<StuLog> {

    List<StuLog> logList();

    List<StuLog> stuGetLogsById(String username);

    void addLog(String username, String title, LocalDate dateFrom, LocalDate dateTo, String content);
}
